package com.bookstore.admin.products.dao;

import java.util.List;
import java.util.Map;

import com.bookstore.commons.beans.Product;
import com.bookstore.commons.beans.ProductList;
import com.bookstore.commons.vo.AdminProduct;
import com.bookstore.utils.PageModel;

public interface IAdminProductsDao {

	int selectCountByManyCondition(AdminProduct condition);

	List<Product> selectProductsByManyCondition(Map<String, Object> map);

	Product selectProductById(String id);

	int updateProduct(Product product);


	int insertProduct(Product product);

	int deleteProduct(String id);

	List<Product> selectAllProducts(Map<String, Object> map);

	List<ProductList> selectProdcutList(Map<String, Object> map);

}
